Action hook 'delete_site_option_{$option}'

in WP Core File wp-includes/option.php at line 2274

Description

Fires after a specific network option has been deleted. The dynamic portion of the hook name, `$option`, refers to the option name.

Occurrences

Filename Line Number
wp-includes/option.php 2274

Parameters

Type Name Description
string $option Name of the network option.
int $network_id ID of the network.

PHP Doc

/**
		 * Fires after a specific network option has been deleted.
		 *
		 * The dynamic portion of the hook name, `$option`, refers to the option name.
		 *
		 * @since 2.9.0 As "delete_site_option_{$key}"
		 * @since 3.0.0
		 * @since 4.7.0 The `$network_id` parameter was added.
		 *
		 * @param string $option     Name of the network option.
		 * @param int    $network_id ID of the network.
		 */